package user;

import javax.ejb.EJBLocalObject;

import descriptor.UserDescriptor;

/**
 * User interface
 * 
 * @author Mamadou TOURE
 * 
 * The User interface defines all the business method that a client can invoke remotely 
 * on the object (UserBean).
 * 
 * Note : 	-It extends the EJBLocalObject interface.
 */
public interface User extends EJBLocalObject 
{
	public static int STUDENT = 1;
	public static int ADMIN = 2;
	public static int COMPSUP = 3;
	public static int CAREER= 4;
	public static int MARKER = 5;
	public static int RECRUITER = 6;
	public static int ACADEMICSUP = 7;
	public static int COMPANYSUP = 8;
	
	public int getId();
	public void setId(int id);
	
	public String getFirstName();
	public void setFirstName(String firstName);
	
	public String getName();
	public void setName(String name);
	
	public String getLogin();
	public void setLogin(String login);
	
	public String getPasswd();
	public void setPasswd(String passwd);
	
	public String getMail();
	public void setMail(String mail);
	
	public int getType();
	public void setType(int type);
	
	public UserDescriptor getDescriptor();
}
